projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c275f
)
(Finsert_file_contents): Be sure set coding-system of
author
Kenichi Handa
<handa@m17n.org>
Thu, 5 Nov 2009 04:12:49 +0000
(
04:12
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 5 Nov 2009 04:12:49 +0000
(
04:12
+0000)
the buffer in case of replace.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 146e77c14eca9bdfaeaef90132da4b1a779bb7aa..c61604ac31da335ca146fbcf9cd8e865be8c25b6 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-3713,6
+3713,7
@@
variable `last-coding-system-used' to the coding system actually used. */)
}
coding_system = CODING_ID_NAME (coding.id);
+ set_coding_system = 1;
decoded = BUF_BEG_ADDR (XBUFFER (conversion_buffer));
inserted = (BUF_Z_BYTE (XBUFFER (conversion_buffer))
- BUF_BEG_BYTE (XBUFFER (conversion_buffer)));